<style lang = "scss" scoped>
#cmain{
    .cmain-content{
        min-height:525px;
        border-radius:10px;
        background:#fff;
        box-shadow:0px 0px 15px 0px rgba(207,207,207,1);
        padding:0px 25px;
        .cmain-header{
            height: 48px;
            line-height:28px;
            padding:10px 0px;
        }
        .cmain-upload{
            padding-top:30px;
        }
    } 
}
</style>
<template>
    <div id="cmain">
        <div class="cmain-content">
            <div class="cmain-header">
                <el-button type="text">excel导入说明</el-button>
            </div>
            <div class="cmain-upload">
                <el-upload
                    ref="upload"
                    action="https://jsonplaceholder.typicode.com/posts/"
                    :auto-upload="false">
                    <el-button slot="trigger" size="small" type="primary">选取文件</el-button>
                    <el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload">上传到服务器</el-button>
                </el-upload>
            </div>
        </div>
    </div> 
</template>
<script>
export default {
    name:"dataImport",
    data(){
        return{

        }
    },
    methods:{

    }
}
</script>


